package com.bbcare.followup.plat.task.reserve;

import org.apache.log4j.Logger;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import org.springframework.beans.factory.annotation.Autowired;

import com.bbcare.followup.plat.service.IReserveService;


public class CurerJob implements Job {
    private final static Logger logger = Logger.getLogger(CurerJob.class);

    @Autowired
    private IReserveService reserveService;


    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        logger.info("++++开始执行生成治疗师的2周排班。");

        reserveService.generateCurerSchedule();

        logger.info("++++已完成。");
    }
}
